From: Claudio Cambra Date: Tue, 7 Jan 2025 05:55:49 +0000 (+0900) Subject: Use dark palette colour for secondary text X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~2^2~148^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=0daec76aee99f89b22ad3a4ac2407ed9388fea29;p=nextcloud-desktop.git Use dark palette colour for secondary text Improves readability in dark mode Signed-off-by: Claudio Cambra --- diff --git a/src/gui/macOS/ui/FileProviderFileDelegate.qml b/src/gui/macOS/ui/FileProviderFileDelegate.qml index fc7d5c742..a26d98026 100644 --- a/src/gui/macOS/ui/FileProviderFileDelegate.qml +++ b/src/gui/macOS/ui/FileProviderFileDelegate.qml @@ -81,7 +81,7 @@ Item { EnforcedPlainTextLabel { id: fileTypeLabel text: root.fileTypeString - color: palette.mid + color: palette.dark } } } diff --git a/src/gui/macOS/ui/FileProviderSettings.qml b/src/gui/macOS/ui/FileProviderSettings.qml index d2a6bdf2b..86e6128bf 100644 --- a/src/gui/macOS/ui/FileProviderSettings.qml +++ b/src/gui/macOS/ui/FileProviderSettings.qml @@ -74,7 +74,7 @@ Page { Rectangle { Layout.fillWidth: true height: Style.normalBorderWidth - color: palette.mid + color: palette.dark } FileProviderSyncStatus { diff --git a/src/gui/macOS/ui/FileProviderStorageInfo.qml b/src/gui/macOS/ui/FileProviderStorageInfo.qml index 557f830fc..0e8ad2549 100644 --- a/src/gui/macOS/ui/FileProviderStorageInfo.qml +++ b/src/gui/macOS/ui/FileProviderStorageInfo.qml @@ -48,7 +48,7 @@ GridLayout { Layout.fillWidth: true text: qsTr("%1 GB of %2 GB remote files synced").arg(root.localUsedStorage.toFixed(2)).arg(root.remoteUsedStorage.toFixed(2)); elide: Text.ElideRight - color: palette.mid + color: palette.dark horizontalAlignment: Text.AlignRight } diff --git a/src/gui/tray/ActivityList.qml b/src/gui/tray/ActivityList.qml index 0fa3723d2..dd97d3973 100644 --- a/src/gui/tray/ActivityList.qml +++ b/src/gui/tray/ActivityList.qml @@ -126,7 +126,7 @@ ScrollView { verticalAlignment: Image.AlignVCenter horizontalAlignment: Image.AlignHCenter fillMode: Image.PreserveAspectFit - source: "image://svgimage-custom-color/activity.svg/" + palette.mid + source: "image://svgimage-custom-color/activity.svg/" + palette.dark } EnforcedPlainTextLabel { diff --git a/src/gui/tray/ListItemLineAndSubline.qml b/src/gui/tray/ListItemLineAndSubline.qml index e810c65ba..7616401a2 100644 --- a/src/gui/tray/ListItemLineAndSubline.qml +++ b/src/gui/tray/ListItemLineAndSubline.qml @@ -30,7 +30,7 @@ ColumnLayout { property int sublineFontSize: Style.unifiedSearchResultSublineFontSize property color titleColor: palette.windowText - property color sublineColor: palette.mid + property color sublineColor: palette.dark EnforcedPlainTextLabel { id: title diff --git a/src/gui/tray/NCBusyIndicator.qml b/src/gui/tray/NCBusyIndicator.qml index 9b51efe9b..e57161897 100644 --- a/src/gui/tray/NCBusyIndicator.qml +++ b/src/gui/tray/NCBusyIndicator.qml @@ -19,7 +19,7 @@ import Style BusyIndicator { id: root - property color color: palette.mid + property color color: palette.dark property string imageSource: "image://svgimage-custom-color/change.svg/" property int imageSourceSizeWidth: 64 diff --git a/src/gui/tray/UnifiedSearchResultFetchMoreTrigger.qml b/src/gui/tray/UnifiedSearchResultFetchMoreTrigger.qml index e62f2de2a..94f9ff9b6 100644 --- a/src/gui/tray/UnifiedSearchResultFetchMoreTrigger.qml +++ b/src/gui/tray/UnifiedSearchResultFetchMoreTrigger.qml @@ -26,7 +26,7 @@ ColumnLayout { property int fontSize: Style.unifiedSearchResultTitleFontSize - property string textColor: palette.mid + property string textColor: palette.dark Accessible.role: Accessible.ListItem Accessible.name: unifiedSearchResultItemFetchMoreText.text diff --git a/src/gui/tray/UnifiedSearchResultItem.qml b/src/gui/tray/UnifiedSearchResultItem.qml index 5ddc23eda..a5cc80101 100644 --- a/src/gui/tray/UnifiedSearchResultItem.qml +++ b/src/gui/tray/UnifiedSearchResultItem.qml @@ -36,7 +36,7 @@ RowLayout { property int sublineFontSize: Style.unifiedSearchResultSublineFontSize property color titleColor: palette.buttonText - property color sublineColor: palette.mid + property color sublineColor: palette.dark Accessible.role: Accessible.ListItem